import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import java.awt.Color;
import javax.swing.BoxLayout;
import javax.swing.JTable;
import java.awt.Component;

/**
 * Makes the HUD
 * @author Hobosapiens
 */

public class HUDbuild extends JPanel {

	/**
	 * Create the panel.
	 */
	public HUDbuild() {
		setForeground(Color.WHITE);
		setBackground(Color.WHITE);
		setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
		
		JPanel leftPanel = new JPanel();
		leftPanel.setAlignmentX(Component.LEFT_ALIGNMENT);
		leftPanel.setBackground(Color.YELLOW);
		add(leftPanel);
		leftPanel.setLayout(new BoxLayout(leftPanel, BoxLayout.Y_AXIS));
		
		JLabel lblWater = new JLabel("water");
		leftPanel.add(lblWater);
		
		JLabel lblFood = new JLabel("food");
		leftPanel.add(lblFood);
		
		JLabel lblRepair = new JLabel("repair");
		leftPanel.add(lblRepair);
		
		JPanel rightPanel = new JPanel();
		rightPanel.setBackground(Color.WHITE);
		add(rightPanel);

	}


}
